<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">调课日期:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true"
                   name="row[date]" type="text" value="{$date}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">授课老师:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-admin_id" data-rule="required" data-source="auth/admin/index"
                   data-field="nickname" class="form-control selectpage" placeholder="输入为模糊搜索" name="row[admin_id]"
                   type="text" value="{$info_class.admin_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">调课时间段:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time_slot" data-rule="required" data-source="school_schedule_time/index"
                   data-field="start_date" class="form-control selectpage"  placeholder="输入为模糊搜索" name="row[time_slot]" type="text" value="{$info_class.time_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">调课原因:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transfer_remarks" data-rule="required" class="form-control" name="row[transfer_remarks]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
